package com.retail.lottery.colalottery;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan(value = {"com.retail.lottery.colalottery.mapper"})
@ComponentScan(value = {"com.retail"})
@SpringBootApplication
@EnableScheduling
public class RetailLotteryColaApplication {

    public static void main(String[] args) {
        //启动application insights功能
        //ApplicationInsights.attach();
        //修改参数
        //System.setProperty("applicationinsights.runtime-attach.configuration.classpath.file", "applicationinsights-dev.json");
        //配置connection string
        //ConnectionString.configure("InstrumentationKey=00000000-0000-0000-0000-000000000000");

        SpringApplication.run(RetailLotteryColaApplication.class, args);

    }

}
